package org.yefei.homeworkday14;

public class Myna extends Animal {

	public Myna() {
	}

	public Myna(String name, int age, double weight) {
		super(name, age, weight);
	}

	public void say() {
		System.out.println("名叫" + super.getName() + "会说话");
	}
	@Override
	public void shout() {
		System.out.println("名叫" + super.getName() + "的小鹦鹉会叫");
	}

	public void run() {
		System.out.println("名叫" + super.getName() + "的小鹦鹉会拍翅膀跑");
	}
}
